<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数学游戏乐园</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .container {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            text-align: center;
            max-width: 400px;
            width: 100%;
        }

        h1 {
            color: #4a5568;
            font-size: 2.5em;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        }

        .subtitle {
            color: #718096;
            font-size: 1.2em;
            margin-bottom: 30px;
        }

        .button-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .game-button {
            background: linear-gradient(45deg, #ff6b6b, #ffa500);
            border: none;
            border-radius: 15px;
            padding: 20px;
            font-size: 1.3em;
            font-weight: bold;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        }

        .game-button:nth-child(1) {
            background: linear-gradient(45deg, #ff6b6b, #ff8e53);
        }

        .game-button:nth-child(2) {
            background: linear-gradient(45deg, #4ecdc4, #44a08d);
        }

        .game-button:nth-child(3) {
            background: linear-gradient(45deg, #a8edea, #fed6e3);
            color: #4a5568;
        }

        .game-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
        }

        .game-button:active {
            transform: translateY(-1px);
        }

        .emoji {
            font-size: 1.5em;
            margin-right: 10px;
        }

        @media (max-width: 480px) {
            .container {
                padding: 20px;
                margin: 10px;
            }
            
            h1 {
                font-size: 2em;
            }
            
            .game-button {
                padding: 18px;
                font-size: 1.2em;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>🎮 数学游戏乐园</h1>
        <p class="subtitle">选择你想玩的游戏吧！</p>
        
        <div class="button-container">
            <button class="game-button" onclick="goToSymbolJudge()">
                <span class="emoji">🔍</span>符号判断
            </button>
            
            <button class="game-button" onclick="goToFriendNumbers()">
                <span class="emoji">👫</span>好朋友数
            </button>
            
            <button class="game-button" onclick="goToBrotherNumbers()">
                <span class="emoji">👬</span>好兄弟数
            </button>
        </div>
    </div>

    <script>
        function goToSymbolJudge() {
            alert('符号判断游戏即将开始！\n这里将会跳转到符号判断页面。');
            // 这里可以添加跳转到符号判断页面的代码
            // window.location.href = 'symbol-judge.html';
        }

        function goToFriendNumbers() {
            window.location.href = 'friend-numbers-settings.html';
        }

        function goToBrotherNumbers() {
            alert('好兄弟数游戏即将开始！\n这里将会跳转到好兄弟数页面。');
            // 这里可以添加跳转到好兄弟数页面的代码
            // window.location.href = 'brother-numbers.html';
        }

        // 添加触摸反馈效果
        document.querySelectorAll('.game-button').forEach(button => {
            button.addEventListener('touchstart', function() {
                this.style.transform = 'translateY(-1px)';
            });
            
            button.addEventListener('touchend', function() {
                this.style.transform = 'translateY(-3px)';
            });
        });
    </script>
</body>
</html>